package com.retired_serviceman_management.util;

import java.util.Date;

public class ListUtil {

    private String soldierName;

    private Integer soldierAge;

    private String soldierOrigin;

    private String homeLocal;

    private String serviceTime;

    private String decommissioningTime;

    private String psStatus;

    private String mobile;

    private String password;

    public ListUtil() {
    }

    public ListUtil(String soldierName, Integer soldierAge, String soldierOrigin, String homeLocal, String serviceTime, String decommissioningTime, String psStatus, String mobile) {
        this.soldierName = soldierName;
        this.soldierAge = soldierAge;
        this.soldierOrigin = soldierOrigin;
        this.homeLocal = homeLocal;
        this.serviceTime = serviceTime;
        this.decommissioningTime = decommissioningTime;
        this.psStatus = psStatus;
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public ListUtil(String soldierName, Integer soldierAge, String soldierOrigin, String homeLocal, String serviceTime, String decommissioningTime, String psStatus, String mobile, String password) {
        this.soldierName = soldierName;
        this.soldierAge = soldierAge;
        this.soldierOrigin = soldierOrigin;
        this.homeLocal = homeLocal;
        this.serviceTime = serviceTime;
        this.decommissioningTime = decommissioningTime;
        this.psStatus = psStatus;
        this.mobile = mobile;
        this.password = password;
    }

    public String getSoldierName() {
        return soldierName;
    }

    public void setSoldierName(String soldierName) {
        this.soldierName = soldierName;
    }

    public Integer getSoldierAge() {
        return soldierAge;
    }

    public void setSoldierAge(Integer soldierAge) {
        this.soldierAge = soldierAge;
    }

    public String getSoldierOrigin() {
        return soldierOrigin;
    }

    public void setSoldierOrigin(String soldierOrigin) {
        this.soldierOrigin = soldierOrigin;
    }

    public String getHomeLocal() {
        return homeLocal;
    }

    public void setHomeLocal(String homeLocal) {
        this.homeLocal = homeLocal;
    }

    public String getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(String serviceTime) {
        this.serviceTime = serviceTime;
    }

    public String getDecommissioningTime() {
        return decommissioningTime;
    }

    public void setDecommissioningTime(String decommissioningTime) {
        this.decommissioningTime = decommissioningTime;
    }

    public String getPsStatus() {
        return psStatus;
    }

    public void setPsStatus(String psStatus) {
        this.psStatus = psStatus;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Override
    public String toString() {
        return "ListUtil{" +
                "soldierName='" + soldierName + '\'' +
                ", soldierAge=" + soldierAge +
                ", soldierOrigin='" + soldierOrigin + '\'' +
                ", homeLocal='" + homeLocal + '\'' +
                ", serviceTime=" + serviceTime +
                ", decommissioningTime=" + decommissioningTime +
                ", psStatus='" + psStatus + '\'' +
                ", mobile='" + mobile + '\'' +
                '}';
    }
}
